package com.zrrd.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

/**
 * @author WanJl
 * @version 1.0
 * @title MinIOConfgiProperties
 * @description MinIO配置需要的属性
 * @create 2024/9/12
 */
@Data
@ConfigurationProperties(prefix = "minio")
public class MinIOConfigProperties implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户名
     */
    private String accessKey;
    /**
     * 密码
     */
    private String secretKey;

    /**
     * url路径
     */
    private String endpoint;

    /**
     * 桶名称
     */
    private String bucket;

    /**
     * 读取路径
     */
    private String readPath;
}
